package com.leyou.item.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 商品规格参数model
 * @Date 2018/12/15  21:04
 * @Author JIE
 */
@Table(name = "tb_spec_param")
@Data
public class SpecParam {

   @Id
   @KeySql(useGeneratedKeys = true)
   private Long id;

   private Long cid;

   private Long groupId;

   private String name;

   @Column(name = "`numeric`")
   private Boolean numeric;

   private String unit;

   private Boolean generic;

   private Boolean searching;

   private String segments;


}
